package com.clarence.dada.modular.system.dict.entity.resp;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.math.BigDecimal;

/**
 * <p>
 * 字典类型
 * <p>
 * 一个字典类型下有多个字典
 * <p>
 *
 * @author GD
 * @since 2020/10/30 10:07
 */
@Data
@Schema(title = "系统字典类型响应实例")
public class SysDictTypeResp {

    /**
     * 字典类型id
     */
    @Schema(title = "字典类型id", example = "1")
    private Long dictTypeId;

    /**
     * 字典类型： 1-业务类型，2-系统类型，参考 DictTypeClassEnum
     */
    @Schema(title = "字典类型： 1-业务类型，2-系统类型", example = "1")
    private Integer dictTypeClass;

    /**
     * 字典类型业务编码
     */
    @Schema(title = "字典类型业务编码", example = "system")
    private String dictTypeBusCode;

    /**
     * 字典类型编码
     */
    @Schema(title = "字典类型编码", example = "user_status")
    private String dictTypeCode;

    /**
     * 字典类型名称
     */
    @Schema(title = "字典类型名称", example = "用户状态")
    private String dictTypeName;

    /**
     * 字典类型描述
     */
    @Schema(title = "字典类型描述", example = "用户状态字典")
    private String dictTypeDesc;

    /**
     * 排序，带小数点
     */
    @Schema(title = "排序，带小数点", example = "1")
    private BigDecimal dictTypeSort;

}
